package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 货物对象 sys_goods
 * 
 * @author ruoyi
 * @date 2020-12-13
 */
public class SysGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 货物表ID */
    private Long goodsId;

    /** 供货分类表ID */
    @Excel(name = "供货分类表ID")
    private Long goodsClassificationId;

    /** 货物名 */
    @Excel(name = "货物名")
    private String goodsName;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String attribite1;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String attribite3;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String attribite2;
    /**
     *
     */
    private SysGoodsclassification sysGoodsclassification;
    public SysGoodsclassification getSysGoodsclassification() {
        return sysGoodsclassification;
    }

    public void setSysGoodsclassification(SysGoodsclassification sysGoodsclassification) {
        this.sysGoodsclassification = sysGoodsclassification;
    }


    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsClassificationId(Long goodsClassificationId) 
    {
        this.goodsClassificationId = goodsClassificationId;
    }

    public Long getGoodsClassificationId() 
    {
        return goodsClassificationId;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setAttribite1(String attribite1) 
    {
        this.attribite1 = attribite1;
    }

    public String getAttribite1() 
    {
        return attribite1;
    }
    public void setAttribite3(String attribite3) 
    {
        this.attribite3 = attribite3;
    }

    public String getAttribite3() 
    {
        return attribite3;
    }
    public void setAttribite2(String attribite2) 
    {
        this.attribite2 = attribite2;
    }

    public String getAttribite2() 
    {
        return attribite2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("goodsClassificationId", getGoodsClassificationId())
            .append("goodsName", getGoodsName())
            .append("createTime", getCreateTime())
            .append("attribite1", getAttribite1())
            .append("attribite3", getAttribite3())
            .append("attribite2", getAttribite2())
            .toString();
    }
}
